﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo01
{
    class Add : Calculate
    {
        public override void DisplayResult()
        {

            Console.WriteLine("两个整数和为：{0}",a+b);          
        }
        public Add(int a, int b):base(a,b)
        { 
                        
        }
    }
}
